Skip to content

Add resolver hint when --exclude-newer filters out all versions of a package#18217

Merged
zanieb merged 1 commit intoastral-sh:mainfrom
terror:exclude-newer-resolver-hint
Feb 27, 2026
Merged

Add resolver hint when --exclude-newer filters out all versions of a package#18217
zanieb merged 1 commit intoastral-sh:mainfrom
terror:exclude-newer-resolver-hint

Conversation

@terror
Copy link
Contributor

@terror terror commented Feb 27, 2026

Resolves #18014 (also related to #18010)

When --exclude-newer is active and all versions of a required package were uploaded after the cutoff, resolution fails with no indication that the setting is the cause. This diff adds a resolver hint that surfaces the relationship.

The diff also includes debug-level logging of the exclude-newer configuration at resolver start (happy to get this in separately, if needed), and trace-level logging each time an individual file is excluded by the timestamp cutoff. These help diagnose resolution behavior without requiring the hint to fire.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

error messages Messaging when something goes wrong

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add debug logging when exclude newer is used

2 participants